#ifndef NR_CLIENT_FLOORSCADA_H
#define NR_CLIENT_FLOORSCADA_H

#include <QtGui/QWidget>
#include <QStandardItemModel>
#include <QTableView>
#include "nr_object_manager.h"
#include "nr_client_device_tree.h"
#include "nr_client_communication.h"

namespace Ui
{
	class subwindow2;
}

class subwindow2 : public QWidget
{
	Q_OBJECT

public:
	subwindow2(QWidget *parent = 0, Qt::WFlags flags = 0);
	~subwindow2();
	
	void set_device_TreeWidgetItem(DeviceTreeWidgetItem &_device_TreeWidgetItem);
	void set_device_type_manager(nr_device_type_manager &_device_type_manager);
	void set_DataCommunication(client_Communication &data);

private:

	Ui::subwindow2* ui;
	client_Communication* m_clientdeviceTree;
	DeviceTreeWidgetItem* m_device_TreeWidgetItem;
	nr_device_type_manager* m_device_type_manager;
	DeviceTreeWidgetItem* deviceitem;

	private slots:
		void on_viewElectricEnergy(nr_data* data);
};


#endif // SUBWINDOW2_H